import random

class  Level():
    
    def __init__(self,  level):
        self.balloons_speed = 1 + (1.2 ** level)
        self.shoot_speed = 40 + (1.2 ** level)
        self.winning_score = 17 + 3*level
        self.time = 5*self.winning_score
        self.interval = (675000 / (120 * self.balloons_speed))
        if level < 3:
            self.dificulty = 0
        elif level < 5:
            self.dificulty = 1
        elif level < 7:
            self.dificulty = 2
        else:
            self.dificulty = 3
